package com.copc.common.constants;

/**
 * 人与人关系
 *
 * @author yuni
 * @since 2023/3/9 16:33
 */
public enum RelationWithApplicantPicusEnum {
    BR("本人", 1),
    PO("配偶", 2),
    FM("父母", 3),
    ZN("子女", 4),
    ZF("丈夫", 5),
    QZ("妻子", 6),
    FQ("父亲", 7),
    MQ("母亲", 8),
    EZ("儿子", 9),
    NE("女儿", 10),
    QT("其它", 99);

    private final String code;

    private final Integer value;

    RelationWithApplicantPicusEnum(String code, Integer value) {
        this.code = code;
        this.value = value;
    }

    //获取编号
    public String code() {
        return code;
    }

    //获取信息
    public Integer value() {
        return value;
    }

    @Override
    public String toString() {
        return String.valueOf(this.code);
    }
}
